package nuc.edu.tlias.service;

import nuc.edu.tlias.pojo.Clazz;
import nuc.edu.tlias.pojo.PageResult;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.RequestParam;

import java.time.LocalDate;
import java.util.List;

public interface ClazzService {
    void add(Clazz clazz);

    List<Clazz> findAll();

    PageResult serchPage(String name ,LocalDate begin ,LocalDate end,Integer page ,Integer pageSize);

    void deleteById(Integer id);

    Clazz findById(Integer id);

    void upload(Clazz clazz);

}
